/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.Toto.isp.violate.services.internal;


import za.ac.cput.Toto.isp.obey.model.Bank;
import za.ac.cput.Toto.isp.violate.model.Bank1;
import za.ac.cput.Toto.isp.violate.services.Atm;
import za.ac.cput.Toto.isp.violate.services.tellers;



/**
 *
 * @author Abduraghmaan
 */
public class BankOperations implements Atm{
    

    public boolean withdraw(Bank1 b, long searchNo) {
        boolean found = false;
        
        if(searchNo == b.getAccNo());
                return found;
    }

    public boolean deposit(Bank1 b, long searchNo) {
        boolean found = false;
        if(searchNo == b.getAccNo());
                return found;
    }

    public boolean withdraw(Bank b, long searchNo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

   
}
